﻿@model zichan.Models.ServerAndFieldsModel
@{
    ViewBag.Title = "part_Detail";
}
<div class="form-body">
    @*<h2 class="margin-bottom-20"> 资产详情 </h2>*@
    <h3 class="form-section">  服务器详情</h3>
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">所属公司:</label>
                <div class="col-md-9">
                    @Model.Server.CompanyName
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">服务器用途:</label>
                <div class="col-md-9">
                    @Model.Server.serverPurposeName
                </div>
            </div>
        </div>
        <!--/span-->
    </div>
    <!--/row-->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">服务器详细用途:</label>
                <div class="col-md-9">
                    @Model.Server.serverPurposeSubName
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">服务器编码:</label>
                <div class="col-md-9">
                    @Model.Server.Code
                </div>
            </div>
        </div>
       
    </div>
    <!--/row-->
    <div class="row">
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">服务器U数:</label>
                <div class="col-md-9">

                    @Model.Server.UseNumber U

                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">服务器主IP:</label>
                <div class="col-md-9">
                    @Model.Server.IP
                </div>
            </div>
        </div>
        
    </div>
    <div class="row">
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">服务器副IP:</label>
                <div class="col-md-9">
                    @{
                        foreach (string s in Model.Server.SubIps)
                        {
                            @s <br />
                        }
                    }
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">内网IP:</label>
                <div class="col-md-9">
                    @Model.Server.IntranetIP
                </div>
            </div>
        </div>
       
    </div>
    <!--/row-->
    <div class="row">
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">IP反解:</label>
                <div class="col-md-9">

                    @if (@Model.Server.IsInverse)
                    {
                        @:是
                   }
                    else
                    {
                        @:否
                   }

                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">备注:</label>
                <div class="col-md-9">

                    @Model.Server.Remark

                </div>
            </div>
        </div>
    </div>
</div>
<div class="form-body">
    @*<h2 class="margin-bottom-20"> 资产详情 </h2>*@
    <h3 class="form-section">服务器配置</h3>
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">品牌:</label>
                <div class="col-md-9">
                    @Model.serverInfo.Brand
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">型号:</label>
                <div class="col-md-9">
                    @Model.serverInfo.Version
                </div>
            </div>
        </div>
        <!--/span-->
    </div>
    <!--/row-->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">序列号:</label>
                <div class="col-md-9">
                    @Model.serverInfo.SerialNumber
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">U数:</label>
                <div class="col-md-9">

                    @Model.serverInfo.U_Number U

                </div>
            </div>
        </div>
        <!--/span-->
    </div>
    <!--/row-->
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">CPU:</label>
                <div class="col-md-9">
                    @Model.serverInfo.CPU
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">内存:</label>
                <div class="col-md-9">
                    @Model.serverInfo.Memory
                </div>
            </div>
        </div>
        <!--/span-->
    </div>
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">硬盘:</label>
                <div class="col-md-9">
                    @Model.serverInfo.HardDisk
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">RAID卡:</label>
                <div class="col-md-9">

                    @Model.serverInfo.HardWareRAID

                </div>
            </div>
        </div>
        <!--/span-->
    </div>

    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">网口:</label>
                <div class="col-md-9">
                    @Model.serverInfo.Comb
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">出厂时间:</label>
                <div class="col-md-9">

                    @Model.serverInfo.DeliveryTime

                </div>
            </div>
        </div>
        <!--/span-->
    </div>
    <div class="row">
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">过保时间:</label>
                <div class="col-md-9">
                    @Model.serverInfo.WarrantyTime
                </div>
            </div>
        </div>
        <!--/span-->
        <div class="col-md-6">
            <div class="form-group">
                <label class="control-label col-md-3">管理员:</label>
                <div class="col-md-9">

                    @Model.serverInfo.AdminiStratorName

                </div>
            </div>
        </div>
        <!--/span-->
    </div>
    <!--/row-->

</div>
